package com.stx.dao;

import com.stx.entity.User;

import java.util.List;

/**
 * @author huzixuan
 * @date 2020-12-09 14:57
 */
public interface UserMapper {
    //查询全部用户
    List<User> getUserList();
    //根据id查询用户
    User getUserById(int id);
    //插入语句
    int addUser(User user);
}
